#include <bits\stdc++.h>
//#include <string>
//#include <iostream>
using namespace std;

int N;
string s;
string sub;
bool ok(int p){
    if(p>N-7) return false;
    int j = p;
    for (int i = 0; i < 7; ++i, ++j) {
        if(s[j] == sub[i]) continue;
        else return false;
    }
    return true;
}

bool ok1(int p){
    if(p>N-7) return false;
    int j = p;
    for (int i = 0; i < 7; ++i, ++j) {
        if(s[j] == sub[i] || s[j] == '?') continue;
        else return false;
    }
    return true;
}

int main() {
    ios::sync_with_stdio(false);cin.tie(nullptr);cout.tie(nullptr);
    int T; cin >> T;
    while(T--){
        cin >> N;
        cin >> s;
        sub = "abacaba";
        int cnt = 0;
        for (int i = 0; i < s.size(); ++i) {
            if(ok(i)) ++cnt;
        }
        if(cnt >1) {cout << "No\n"; continue;}
        if(cnt == 1){
            for (char & j : s) {
                if(j == '?') j = 'd';
            }
            cout << "Yes\n" << s << "\n";
            continue;
        }
        bool flg = false;
        for (int i = 0; i < s.size(); ++i) {
            if(ok1(i)) {
                flg = true;
                for (int j = 0; j < 7; ++j, ++i) {
                    s[i] = sub[j];
                }
                for (char & j : s) {
                    if(j == '?') j = 'd';
                }
                break;
            }
        }
        if(flg) cout << "Yes\n" << s << "\n";
        else cout << "No\n";
    }
    return 0;
}